package com.rsg.pmx.bean;

import java.io.Serializable;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.faces.bean.SessionScoped;
import javax.faces.bean.ViewScoped;
import javax.faces.component.UIInput;

/**
 * Un {@link ProjectItemBean} représente graphiquement une tache d'un projet
 * @author eblonvia
 *
 */
@ManagedBean(name="projectItemBean")
@SessionScoped
public class ProjectItemBean implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -149176093674908115L;
	private String description;
	private ProjectItemDetailsBean projectDetailsBean;
	private UIInput taskInputComponent;
	
	public ProjectItemBean(){}
	public ProjectItemBean(String desc){
		this.description = desc;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public ProjectItemDetailsBean getProjectDetailsBean() {
		return projectDetailsBean;
	}
	public void setProjectDetailsBean(ProjectItemDetailsBean projectDetailsBean) {
		this.projectDetailsBean = projectDetailsBean;
	}
	public UIInput getTaskInputComponent() {
		return taskInputComponent;
	}
	public void setTaskInputComponent(UIInput taskInputComponent) {
		this.taskInputComponent = taskInputComponent;
	}
}
